package com.bw.zh32301.spq

import com.bw.base.entity.AnnounceEntity
import com.bw.base.entity.AnnounceEntityItem
import com.bw.zh32301.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class AnnounceSPQ:BaseQuickAdapter<AnnounceEntityItem,BaseViewHolder>(R.layout.item_announce) {
    override fun convert(holder: BaseViewHolder, item: AnnounceEntityItem) {
        holder.setText(R.id.tv_title,item.title)
        holder.setText(R.id.tv_content,item.content)
        holder.setText(R.id.tv_publishTime,item.publishTime)
    }
}